import Taro, {Component} from '@tarojs/taro'
import { View } from '@tarojs/components'
import styles from './index.module.scss'
import classNames from 'classnames'
// import './index.scss'

interface IProps {
  price: any
}

export default class MemberPrice extends Component<IProps, {}> {
  render() {
    const { price } = this.props
    const prefixCls = 'member-price'
    return (<View className={classNames(styles[prefixCls], 'd-f a-i-c bnn-number')}>
      <View className={styles[`${prefixCls}-left`]}>会员</View>
      <View className={styles[`${prefixCls}-right`]}> {price} 元</View>
    </View>)
  }
}
